<div class="loading-container"><div class="loader"></div></div>

<div class="wrapper wrapper-shadow wrapper-list">
	<!-- list data wrapper -->
	<div class="result-wrapper">
    	<div class="content-wrapper no-padding">
     	<div class="content-body">
     		<div class="tabs">
           <ul class="nav nav-tabs widget mgbt-xs-0">
             <li class="active">
             	<a href="#posts-tab" data-toggle="tab"> 
             		<span class="menu-icon"><i class="fa fa-users"></i></span> 课程顾问 
             	</a>
             </li>
           </ul>
           <div class="tab-content no-border xs-padding">
             <div class="tab-pane active" id="home-tab">
             	<div id="toolbar" class="btn-group">
						    <button type="button" class="btn btn-primary" onclick="handlerCreate(this);" data-editor-path="/miwawa/content/esm/adviser/editor/" data-editor-page="add.html">
				        	<i class="glyphicon glyphicon-plus"></i> 新增
						    </button>
							</div>
             	<table data-ajax="handlerSearch" 
         					 	 data-method="post" 
         					 	 data-search="true" 
         					 	 data-toolbar="#toolbar" 
         					 	 data-id-field="id" 
         					 	 data-unique-id="id" 
         					 	 data-pagination="true" 
         					 	 data-show-toggle="true" 
         					 	 data-show-refresh="true" 
         					 	 data-show-columns="true" 
         					 	 data-check-on-init="true" 
         					 	 data-click-to-select="true" 
         					 	 data-side-pagination="server" 
         					 	 data-mobile-responsive="true" 
         					 	 data-event-onload="handlerSuccess" 
         					 	 data-form-search="#search-form-adviser" id="table-adviser" class="bootstrap-table">
								<thead>
									<tr>
										<th data-field="id" data-visible="false" data-switchable="false"></th>
										<th data-field="name" 			data-align="center" >姓名</th>
										<th data-field="mobile" 		data-align="center" >手机</th>
										<th data-field="email" 			data-align="center" >邮箱</th>
										<th data-field="createDate" data-align="center" >入职时间</th>
										<th data-field="customers" 	data-align="center" >客户数</th>
										<th data-field="operator" 	data-align="center" >操作</th>
									</tr>
								</thead>
							</table>
             </div>
           </div>
         </div>
     	</div>
    	</div>
	</div>

	<!-- form editor wrapper -->
	<div class="editor-wrapper">
		
	</div>
</div>
<!-- PAGE CONTENT END =============================================== -->

<!-- 查询表单 ========================================================= -->
<form id="search-form-adviser" action="/miwawa/{dbname}/common/search.json" method="post" 
			name="com.app.miwawa.api.esm.entity.Adviser">
			<input type="hidden" name="status" value="0" data-search-group="and" data-search-operation="EQ">
			<input type="hidden" name="invalid" value="F" data-search-group="and" data-search-operation="EQ">
			<input type="hidden" data-search-sort="createDate" data-search-order="desc">
</form>
          
<!-- Javascript ===================================================== -->
<script src="/miwawa/resources/lib/miwawa/1.0.2/js/core/requirejs/require.js"></script>
 	
<script type="text/javascript">
<!--
	jQuery(function(){
		require(['/miwawa/resources/lib/miwawa/1.0.2/js/core/module/app/simple.js'], function(simple){
			simple(['registerForm','registerTable','registerResize','registerWidget']);
		});
	});
//-->
</script>
